#ifndef __CONNECTION_FACTORY_H__
#define __CONNECTION_FACTORY_H__ 1

#include <QObject>

#include "client_connection.h"

class CConnectionFactory : QObject
{
	Q_OBJECT

public:
		static CClientConnection* getClientConnection(QString& pHost, quint16& pPort);
		static void destroyClientConnection(CClientConnection*& pClientConnection);

private:
	CConnectionFactory();
	CConnectionFactory(const CConnectionFactory& );
	CConnectionFactory& operator=(const CConnectionFactory& );
};

#endif /* __CONNECTION_FACTORY_H__ */

